package net.web.service.impl;

import net.web.dao.BlogViewDao;
import net.web.entity.BlogView;
import net.web.service.BlogViewService;

import java.util.List;


public class BlogViewViewServiceImpl implements BlogViewService {

    private BlogViewDao blogViewDao = new BlogViewDao();

    @Override
    public List<BlogView> selBlogByAll() {
        return blogViewDao.selBlogByAll();
    }

    @Override
    public BlogView selBlogById(int id) {
        return blogViewDao.selBlogById(id);
    }

}
